import { createSelector } from '@reduxjs/toolkit';
import { RootState } from 'src/app/rootReducer';

const watchSelector = (state: RootState) => state.watch;

export const watchVideoSelector = createSelector(watchSelector, (watchState) => watchState.watchVideo);

export const watchHistorySelector = createSelector(watchSelector, (watchState) => watchState.watchHistory);
